using System.Collections.Generic;
using Microsoft.VisualStudio.Modeling.Diagrams;

namespace ImTryin.StateMachineLanguage
{
    public partial class TransitionConnector
    {
        /*protected override void InitializeDecorators( IList< ShapeField > shapeFields, IList< Decorator > decorators )
        {
            base.InitializeDecorators( shapeFields, decorators );

            Decorator decorator = FindDecorator( decorators, "TextDecorator" );

            TextField textField = (TextField) decorator.Field;
            textField.DefaultMultipleLine = true;
            textField.DefaultAutoSize = false;
            textField.AnchoringBehavior.Clear();
            textField.AnchoringBehavior.SetLeftAnchor( AnchoringBehavior.Edge.Left, 0.01 );
            textField.AnchoringBehavior.SetLeftAnchor( AnchoringBehavior.Edge.Left, 0.01 );
            textField.AnchoringBehavior.SetRightAnchor( AnchoringBehavior.Edge.Right, 0.01 );
            textField.AnchoringBehavior.SetTopAnchor( AnchoringBehavior.Edge.Top, 0.01 );
            textField.AnchoringBehavior.SetBottomAnchor( AnchoringBehavior.Edge.Bottom, 0.01 );
            textField.DefaultStringFormat.Alignment = System.Drawing.StringAlignment.Near;
            textField.DefaultStringFormat.LineAlignment = System.Drawing.StringAlignment.Near;
        }*/
    }
}